﻿using D.Medicalcare.ErrorCode;
using MediatR;

namespace D.Medicalcare.Write.API.Application.Commands.HeaEncyclopeCommand
{
    public class AddHeaEncyclopeCommand:IRequest<APIResult<int>>
    {
        public int HeaId { get; set; }
        /// <summary>
        /// 文章标题
        /// </summary>
        public string? Titlearticle { get; set; }
        /// <summary>
        /// 上传图片
        /// </summary>
        public string HeaImage { get; set; }
        /// <summary>
        /// 作者
        /// </summary>
        public string? SuperAffiliation { get; set; }
        /// <summary>
        /// 文章内容
        /// </summary>
        public string? Articlecontent { get; set; }
        /// <summary>
        /// 文章状态
        /// </summary>
        public bool Deparstate { get; set; }
        /// <summary>
        /// 上传时间
        /// </summary>
        public DateTime? HeaTime { get; set; }
        /// <summary>
        /// 删除标志
        /// </summary>
        public bool IsDeleted { get; set; }
    }
}
